import {
	request
} from '@/util/request.js'
//景点门票列表
export function postListApi(data) {
	return request({
		url: '/getViewList',
		method: 'post',
		data
	})
}
//查询全部分类
export function getViewListApi() {
	return request({
		url: '/selectViewType',
		method: 'get',

	})
}
//查询商圈
export function getShoppingListApi() {
	return request({
		url: '/selectShopping',
		method: 'get'
	})
}
//模糊查询
export function getFindAllLikes(data) {
	return request({
		url: 'findAllLikes',
		method: 'get',
		data
	})
}
//景点详情
export function getViewById(data) {
	return request({
		url: '/getViewById',
		method: 'get',
		data
	})
}
//预定
export function postReserve(data) {
	return request({
		url: '/doReserve',
		method: 'post',
		data
	}, true)
}
//门票详情
export function getTickById(data) {
	return request({
		url: '/getTickById',
		method: 'get',
		data
	})
}
